package csdnpractice;

public class Practice04 {
    public static void main(String[] args) {
        //黄金分割比:一部分与全长之比等于另一部分与该部分之比,其比值接近0.618
        double total;

    }
}
class Test {
    String str=new String("tedu");
    char[]ch={'x','y','z'};
    public static void main(String args[]){
        Test t = new Test();
        t.change(t.str,t.ch);
        System.out.print(t.str+" and ");
        System.out.print(t.ch);}
    public void change(String str,char ch[]){
        str="tarena";
        ch[0]='w';
    }
}
